 /*
  * License Version 1.1 (the "License"); you may not use this file
  * except in compliance with the License. You may obtain a copy of
  * the License at http://www.mozilla.org/MPL/
  *
  * Software distributed under the License is distributed on an "AS
  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  * implied. See the License for the specific language governing
  * rights and limitations under the License.
  *
  * The Original Code is the Bugzilla Bug Tracking System.
  *
  * The Initial Developer of the Original Code is Netscape Communications
  * Corporation. Portions created by Netscape are
  * Copyright (C) 1998 Netscape Communications Corporation. All
  * Rights Reserved.
  *
  * Contributor(s): Byron Jones <bugzilla@glob.com.au>
  *                 Christian Reis <kiko@async.com.br>
  *                 Vitaly Harisov <vitaly@rathedg.com>
  *                 Svetlana Harisova <light@rathedg.com>
  *                 Marc Schumann <wurblzap@gmail.com>
  *                 Pascal Held <paheld@gmail.com>
  */

/* global (begin) */
    body {
        font-family: sans-serif;
        color: #000;
        background: #fff url("global/body-back.gif") repeat-x;
    }
    body, td, th, input {
        font-family: Verdana, sans-serif;
        font-size: small;
    }
    /* monospace is much smaller than Verdana by default, so we make it a bit bigger. */
    pre, code, kbd {
        font-size: medium;
    }
    select { background: #fff; }
/* global (end) */

/* header (begin) */
    #header, #footer {
        margin: 0;
        padding: 0;
        font-size: 100%;
    }

    #header form, #header form input,
    #footer form, #footer form input
    {
        font-size: 95%;
        display: inline;
    }

    #lang_links_container {
        float: right;
    }
    #lang_links_container .links {
        border: none;
        padding: .5em;
    }

    .lang_current {
        font-weight: bold;
    }

    .message {
        border: 1px solid red;
        margin: 0.3em 0em;
        padding: 0.3em;
        color: green;
    }

    #header #useful-links, #footer #useful-links {
        margin: 0;
        padding: 1ex 1ex;
    }

    #header ul, #footer ul {
        list-style-type: none;
    }

    #header .label, #footer .label {
        white-space: nowrap;
        vertical-align: top;
    }

    #header .links, #header .links {
        vertical-align: top;
    }

    form.mini_login input.bz_login  {
        width: 10em;
    }
    form.mini_login input.bz_password {
        width: 6em;
    }
    form.mini_login input.bz_remember {
        margin: 0;
    }
    .bz_mini_login_help {
        color: #777;
    }

/* header (end)   */

/* banner (begin) */
    #banner {
    }

/* banner (end) */

/* titles (begin) */
    #titles {
        width: 100%;
        background-color: #404D6C;
        color: #fff;
        -moz-border-radius-topleft: 5px;
        -moz-border-radius-topright: 5px;
        font-size: 110%;
        margin: 0;
        padding: 0.5em;
        vertical-align: bottom;
    }

    #titles a {
        color: #fff;
    }

    #titles p {
        margin: 0;
        padding: 0;
    }

    #titles #title {
        font-weight: bold;
        white-space: nowrap;
    }

    #titles #subtitle {
        font-weight: normal;
        width: 100%;
        text-align: center;
    }

    #titles #information {
        font-weight: normal;
        text-align: right;
        font-size: 90%;
        white-space: nowrap;
    }

/* titles (end) */

/* footer (begin)
 * See also the "header" section for styles that apply
 * to both the header and footer. 
 */
    #header, #footer {
        clear: both;
        margin-top: 5px;
        width: 100%;
        background: #edf2f2;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    #footer ul {
        list-style-type: none;
    }
    #links-saved { margin-top: 1ex; }
    #links-saved ul {
        display: inline;
    }
    #links-saved th {
        vertical-align: top;
    }

    #footer .label {
        white-space: nowrap;
        vertical-align: top;
    }

    #footer .links {
        vertical-align: top;
    }
/* footer (end) */

/* link lists (begin) */
    ul.links {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    ul.links li {
        display: inline;
        white-space: nowrap;
    }
/* link lists (end) */

/* tabs (begin) */
    .tabs td {
        background: #eee;
        text-align: center;
        border-style: solid;
        border-color: black;
        border-width: 0px 0px 2px 0px;
    }

    .tabs td.selected {
        background: white;
        border-width: 2px 2px 0px 2px;
    }

    .tabs td.spacer {
        background: white;
    }
/* tabs (end) */

/* generic (begin) */
    a {
        color: #039;
        text-decoration: none;
    }

    a:visited {
        color: #636;
    }

    a:hover {
        color: #333;
        text-decoration: underline;
    }

    a:active {
        color: #000;
    }

    .clickable_area {
        cursor: pointer;
    }
/* generic (end) */

/* Links that control whether or not something is visible. */
a.controller {
    font-size: 115%;
}

div#docslinks {
    float: right;
    border: 1px solid black;
    padding: 1ex;
    font-size: 80%;
}

#docslinks h2 {
    margin: 0;
}

.bz_obsolete {
    text-decoration: line-through;
}
.bz_inactive {
    text-decoration: line-through;
}
.bz_closed {
    text-decoration: line-through;
}
.bz_private {
    color: darkred;
    background: #f3eeee;
}
.bz_disabled {
    color: #a0a0a0;
}

/****************/
/* Comment text */
/****************/

.bz_comment { margin-bottom: 2em; }
.bz_comment_text { width: 50em; }

.bz_comment_text span.quote {
    color: #65379c;
    /* Make quoted text not wrap. */
    white-space: pre;
}

/* The rules for these classes make international text wrap correctly,
   even for languages like Japanese that have no spaces. */
.bz_comment_text, .uneditable_textarea {
     font-family: monospace;
    /* Note that these must all be on separate lines or they stop
       working in Konqueror. */
     white-space: pre-wrap;      /* CSS 3 & 2.1 */
     white-space: -moz-pre-wrap; /* Gecko */
     white-space: -pre-wrap;     /* Opera 4-6 */
     white-space: -o-pre-wrap;   /* Opera 7 */
}

.bz_comment_hilite pre {
    background-color: lightgreen;
    margin: 0;
    padding: 1em 0;
}

/** End Comment text **/

.bz_default_hidden, .bz_tui_hidden, .bz_hidden_field, .bz_hidden_option {
    /* We have !important because we want elements with these classes to always
     * be hidden, even if there is some CSS that overrides it (we use these
     * classes inside JavaScript to hide things). */
    display: none !important;
}

table#flags th,
table#flags td {
    vertical-align: top;
    text-align: left;
}

.flag_select {
    min-width: 3em;
}

input.requestee {
    width: 15em;
}

#error_msg {
    font-size: x-large;
}

.throw_error {
    background-color: #ff0000;
    color: black;
    font-size: 120%;
    margin: 1em;
    padding: 0.5em 1em;
}

dt {
    font-weight: bold;
}
body > dl > dt {
    border-top: dotted gray thin;
}
dl dl > dt {
    border-top: none;
}

#admin_table th {
    white-space: normal !important;
}

/* Style of the attachment table and time tracking table */
#attachment_table {
    border-collapse: collapse;
    border: 1px solid #333333;
}

#attachment_table th, .bz_attach_footer, .bz_time_tracking_table th {
    background-color: #E0E0E0;
    color: black;
}

#attachment_table td, .bz_time_tracking_table th, .bz_time_tracking_table td {
    border: 1px solid #333333;
}

#att_multiple { border: 1px solid #333333; margin-top: 8px; padding: 8px; }
#att_multiple h3 { margin: 0; }
#att_multiple p { margin: 8px 0; }
#att_multiple table { border-collapse: collapse; width: 100%; }
#att_multiple th { background-color: #E0E0E0; }
#att_multiple input, #att_multiple select { width: 100%; }
#att_multiple input.button { width: auto; }

.bz_attach_extra_info {
    font-size: smaller;
}

.bz_attach_flags, .bz_attach_footer {
    white-space: nowrap;
}

.bz_attach_view_hide {
    float: right;
    padding-left: 1em;
}

/* For bug fields */
.uneditable_textarea {
    width: 30em;
    font-size: medium;
}

div.user_match {
    margin-bottom: 1em;
}

.box {
    border: 1px solid black;
    color: black;
    background-color: #ffc;
    margin: 1em;
    padding: 0.5em 1em;
}

.collapsed {
    display: none;
}

/* Rules specific for printing */
@media print {
    #header, #footer {
        display: none;
    }

    body {
        background-image: none;
        background-color: #fff;
    }
}

.field_label {
    text-align: left;
    vertical-align: top;
    font-weight: bold;
}
.field_value, form#Create th, form#Create td {
    vertical-align: top;
}
th.required:before {
    content: "* ";
}
th.required:before, span.required_star {
    color: red;
}
input.required, select.required, span.required_explanation {
    background-color: #fff7cd;
}

.calendar_button {
    background: transparent url("global/calendar.png") no-repeat;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.calendar_button span { display: none }

.bug_urls {
    margin: 0 0 1em 0;
    padding: 0;
    list-style-type: none;
}

form#Create th {
    text-align: right;
}

form#Create .comment {
    vertical-align: top;
    overflow: auto;
    color: green;
    margin: 0 0.5em;
    padding: 0.3em;
    height: 8ex;
}

.image_button {
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    border: 1px outset gray;
    width: 30px;
    height: 20px;
}

#select_button {
    background-image: url(global/right.png);
}

#deselect_button {
    background-image: url(global/left.png);
}

#up_button {
    background-image: url(global/up.png);
}

#down_button {
    background-image: url(global/down.png);
}

/* Bug states */
.bz_st_UNCONFIRMED, .bz_UNCONFIRMED td.first-child a { font-style: italic; }
.bz_st_RESOLVED, .bz_RESOLVED td.first-child a { text-decoration: line-through; }
.bz_st_VERIFIED, .bz_VERIFIED td.first-child a { text-decoration: line-through; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em; }
.bz_st_CLOSED, .bz_CLOSED td.first-child a { text-decoration: line-through; border: 1px solid #2f6fab; background-color: #f9f9f9; line-height: 1.1em; }

table.alcontent { width: 100%; }

#useful-links { margin-left: 0; }

#field_container_see_also #see_also { max-width: 500px; }

#visibility_values_td select { margin-bottom: 2px; }

.importxls_link { margin-left: 20px; }
.importxls_link span { font-weight: bold; }

#comment_status_commit #comment { width: 50em; font-size: medium; font-family: monospace; }

.selectfree_ie iframe {
display:none;
display/**/:block;
position:absolute;
top:0;
left:0;
z-index:-1;
filter:mask();
}

.numeric_invalid { background-color: #FFE0E0; }
.buglist-navbar { float: left; margin: 4pt; font-size: 120%; padding: 2pt; }

.user-error-div { margin: 20px; padding: 10px; font-size: 130%; font-family: sans-serif; border: 10px solid red; background: white; }
.user-error-div-first { font-size: 150%; background-color: #ffd0d0; padding: 10px; }

.quicksearch { width: 300px; }

/* query form */
.chart_add_button { font-size: 85%; }
.chart { float: left; clear: left; }
fieldset.chart { margin-bottom: 8px; padding: 0 8px 4px; }
.chart select { margin: 0 4px 4px 0; background-color: white; }
.chart._and, legend._and { background-color: #e0e0ff; }
.chart._or, legend._or { background-color: #ffffe0; }
.chart_add_second { height: 18pt; position: relative; margin-top: -18pt; top: 50%; }
.chart_not_u { border: 1px outset gray; background-color: #e0e0e0; width: 3.5em; }
.chart_not_c { border: 1px inset gray; background-color: white; font-weight: bold; width: 3.5em; }
div.chart._neg { border: 1px solid black; background-image: url(../../images/neg.gif); margin: 1px; padding: 2px 1px 0 1px; }
fieldset.chart._neg { background-image: url(../../images/neg.gif); }

/* SimpleAutocomplete styles */
.hintLayer {
    border: 1px solid gray;
    color: gray;
    width: 300pt;
    background-color: white;
    font-size: 80%;
    max-height: 300pt;
    overflow-y: scroll;
    overflow: -moz-scrollbars-vertical;
}
.hintEmptyText {
    padding: 3px;
}
.hintItem {
    color: black;
    cursor: pointer;
    padding: 1px 3px;
    vertical-align: middle;
}
.hintActiveItem {
    color: white;
    background-color: #008;
    cursor: pointer;
    padding: 1px 3px;
}
.hintItem input, .hintActiveItem input {
    cursor: pointer;
    vertical-align: middle;
    margin-right: 3px;
}
.hintRealName {
    vertical-align: bottom;
}
.hintEmail {
    color: #808080;
}
.hintActiveItem .hintEmail {
    color: #c0c0c0;
}
